package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <h1>商品模版表,用于关联商品规格,参数,并为商品类目做快速入口表 micro_goods_template</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "商品模版表,用于关联商品规格,参数,并为商品类目做快速入口")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_goods_template")
public class GoodsTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 模版编号
     */
    @ApiModelProperty(value = "模版编号")
    private String templateCode;


    /**
     * 参数数量
     */
    @ApiModelProperty(value = "参数数量")
    private Integer parametersCount;


    /**
     * 规格数量
     */
    @ApiModelProperty(value = "规格数量")
    private Integer specCount;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    /**
     * 模版名称
     */
    @ApiModelProperty(value = "模版名称")
    private String templateName;

}
